package com.stgy.lease.web.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * ClassName:WebAdminApplication
 * Package:com.stgy.lease.web.admin
 * Description:
 *
 * @Author:helei
 * @Create:2024/8/28 - 10:47
 */
@EnableCaching //启用缓存注解
@EnableAsync //启用声明式异步
@EnableTransactionManagement //启用声明式事务管理
@SpringBootApplication
@ComponentScan(basePackages = "com.stgy.lease")
public class WebAdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebAdminApplication.class, args);
    }
}
